﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_MAS_BankAccounts
    {
        private int BANK_ACC_SEQ;
        private string BANK_ACC_NO;
        private string BANK_ACC_NAME;
        private string BANK_ACC_NAME_ENG;
        private Nullable<int> BANK_ACC_TYPE_GRP_SEQ;
        private int BRANCH_SEQ;
        private Nullable<int> BGM_SOURCE_SEQ;
        //private Nullable<int> SUB_SOURCE_SEQ;
        private Nullable<int> SAVING_BANK_ACC_SEQ;
        private Nullable<int> ACCOUNT_SEQ;
        private Nullable<int> WORK_AREA_SEQ;
        private string REMARKS;

        private string BANK_ACC_TYPE_GRP_NAME;
        private Nullable<int> BANK_SEQ;
        private string BANK_ID;
        private string BANK_NAME;
        private string BRANCH_ID;
        private string BRANCH_NAME;
        private string BGM_SOURCE_NAME;
        //private string SUB_SOURCE_NAME;
        private string SAVING_BANK_ACC_NO;
        private string SAVING_BANK_ACC_NAME;
        private string WORK_AREA_NAME;
        private string ACCOUNT_NAME;

        //================ general fileds =======================

        private string PATH;
        private string RECORD_STATUS;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        //=======================================================

        public M_FIM_MAS_BankAccounts()
        {

        }

        public M_FIM_MAS_BankAccounts(int BANK_ACC_SEQ
            , string BANK_ACC_NO
            , string BANK_ACC_NAME
            , string BANK_ACC_NAME_ENG
            , Nullable<int> BANK_ACC_TYPE_GRP_SEQ
            , int BRANCH_SEQ
            , Nullable<int> BGM_SOURCE_SEQ
            //, Nullable<int> SUB_SOURCE_SEQ
            , Nullable<int> SAVING_BANK_ACC_SEQ
            , Nullable<int> ACCOUNT_SEQ
            , Nullable<int> WORK_AREA_SEQ
            , string REMARKS
            , string BANK_ACC_TYPE_GRP_NAME
            , Nullable<int> BANK_SEQ
            , string BANK_ID
            , string BANK_NAME
            , string BRANCH_ID
            , string BRANCH_NAME
            , string BGM_SOURCE_NAME
            //, string SUB_SOURCE_NAME
            , string SAVING_BANK_ACC_NO
            , string SAVING_BANK_ACC_NAME
            , string WORK_AREA_NAME
            , string ACCOUNT_NAME

            , string RECORD_STATUS
            , string PATH
            , Nullable<int> CREATED_BY, Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY, Nullable<DateTime> UPDATED_WHEN)
        {
            this.BANK_ACC_SEQ = BANK_ACC_SEQ;
            this.BANK_ACC_NO = BANK_ACC_NO;
            this.BANK_ACC_NAME = BANK_ACC_NAME;
            this.BANK_ACC_NAME_ENG = BANK_ACC_NAME_ENG;
            this.BANK_ACC_TYPE_GRP_SEQ = BANK_ACC_TYPE_GRP_SEQ;
            this.BRANCH_SEQ = BRANCH_SEQ;
            this.BGM_SOURCE_SEQ = BGM_SOURCE_SEQ;
            //this.SUB_SOURCE_SEQ = SUB_SOURCE_SEQ;
            this.SAVING_BANK_ACC_SEQ = SAVING_BANK_ACC_SEQ;
            this.ACCOUNT_SEQ = ACCOUNT_SEQ;
            this.WORK_AREA_SEQ = WORK_AREA_SEQ;
            this.REMARKS = REMARKS;

            this.BANK_ACC_TYPE_GRP_NAME = BANK_ACC_TYPE_GRP_NAME;
            this.BANK_SEQ = BANK_SEQ;
            this.BANK_ID = BANK_ID;
            this.BANK_NAME = BANK_NAME;
            this.BRANCH_ID = BRANCH_ID;
            this.BRANCH_NAME = BRANCH_NAME;
            this.BGM_SOURCE_NAME = BGM_SOURCE_NAME;
            //this.SUB_SOURCE_NAME = SUB_SOURCE_NAME;
            this.SAVING_BANK_ACC_NO = SAVING_BANK_ACC_NO;
            this.SAVING_BANK_ACC_NAME = SAVING_BANK_ACC_NAME;
            this.WORK_AREA_NAME = WORK_AREA_NAME;
            this.ACCOUNT_NAME = ACCOUNT_NAME;

            //================ general fileds =======================
            this.PATH = PATH;
            this.RECORD_STATUS = RECORD_STATUS;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;

            //=======================================================
        }

        public int bank_acc_seq
        {
            set { BANK_ACC_SEQ = value; }
            get { return BANK_ACC_SEQ; }
        }

        public string bank_acc_no
        {
            set { BANK_ACC_NO = value; }
            get { return BANK_ACC_NO; }
        }

        public string bank_acc_name
        {
            set { BANK_ACC_NAME = value; }
            get { return BANK_ACC_NAME; }
        }

        public string bank_acc_name_eng
        {
            set { BANK_ACC_NAME_ENG = value; }
            get { return BANK_ACC_NAME_ENG; }
        }

        public Nullable<int> bank_acc_type_grp_seq
        {
            set { BANK_ACC_TYPE_GRP_SEQ = value; }
            get { return BANK_ACC_TYPE_GRP_SEQ; }
        }

        public int branch_seq
        {
            set { BRANCH_SEQ = value; }
            get { return BRANCH_SEQ; }
        }

        public Nullable<int> bgm_source_seq
        {
            set { BGM_SOURCE_SEQ = value; }
            get { return BGM_SOURCE_SEQ; }
        }

        //public Nullable<int> sub_source_seq
        //{
        //    set { SUB_SOURCE_SEQ = value; }
        //    get { return SUB_SOURCE_SEQ; }
        //}

        public Nullable<int> saving_bank_acc_seq
        {
            set { SAVING_BANK_ACC_SEQ = value; }
            get { return SAVING_BANK_ACC_SEQ; }
        }

        public Nullable<int> account_seq
        {
            set { ACCOUNT_SEQ = value; }
            get { return ACCOUNT_SEQ; }
        }

        public Nullable<int> work_area_seq
        {
            set { WORK_AREA_SEQ = value; }
            get { return WORK_AREA_SEQ; }
        }

        public string remarks
        {
            set { REMARKS = value; }
            get { return REMARKS; }
        }

        public string bank_acc_type_grp_name
        {
            set { BANK_ACC_TYPE_GRP_NAME = value; }
            get { return BANK_ACC_TYPE_GRP_NAME; }
        }

        public Nullable<int> bank_seq
        {
            set { BANK_SEQ = value; }
            get { return BANK_SEQ; }
        }

        public string bank_id
        {
            set { BANK_ID = value; }
            get { return BANK_ID; }
        }

        public string bank_name
        {
            set { BANK_NAME = value; }
            get { return BANK_NAME; }
        }

        public string branch_id
        {
            set { BRANCH_ID = value; }
            get { return BRANCH_ID; }
        }

        public string branch_name
        {
            set { BRANCH_NAME = value; }
            get { return BRANCH_NAME; }
        }

        public string bgm_source_name
        {
            set { BGM_SOURCE_NAME = value; }
            get { return BGM_SOURCE_NAME; }
        }

        //public string sub_source_name
        //{
        //    set { SUB_SOURCE_NAME = value; }
        //    get { return SUB_SOURCE_NAME; }
        //}

        public string saving_bank_acc_no
        {
            set { SAVING_BANK_ACC_NO = value; }
            get { return SAVING_BANK_ACC_NO; }
        }

        public string saving_bank_acc_name
        {
            set { SAVING_BANK_ACC_NAME = value; }
            get { return SAVING_BANK_ACC_NAME; }
        }

        public string work_area_name
        {
            set { WORK_AREA_NAME = value; }
            get { return WORK_AREA_NAME; }
        }

        public string account_name
        {
            set { ACCOUNT_NAME = value; }
            get { return ACCOUNT_NAME; }
        }


        //================ general fileds ======================= 

        public string path
        {
            set { PATH = value; }
            get { return PATH; }
        }

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }

        //=======================================================
    }
}
